<!DOCTYPE html>
<html lang="en">

<head>
	<meta charset="UTF-8"/>
	<meta name="keywords" content="indent, outdent, shift, indentation"/>
	<link rel="stylesheet" href="../../Shared/sty/standard.css"/>
	<script defer src="../../Shared/js/toc.js"></script>
	
	<title>Indent text in CotEditor on Mac</title>
</head>

<body>

<h1>Indent text in CotEditor on Mac</h1>

<p>Using the indentation commands, you can add or remove tabs or spaces at the beginning of lines in a batch. This is useful when working with code or structured text.</p>

<p>You can customize the indent behaviors, such as indent width and the character to use for indentation, in <a href="settings_edit.html">Edit settings</a>.</p>


<section>
<ol>
	<li><p>In the CotEditor app <img class="appicon" srcset="../../Shared/gfx/icon_32x32@2x.png 2x" alt=""/> on your Mac, open a document.</p></li>
	<li><p>Select the lines you want to indent, or move the insertion point there.</p></li>
	<li><p>Choose Text &gt; Indentation &gt; Shift Right or Shift Left, or click the Indentation button in the toolbar.</p></li>
</ol>

<p>The actual action of those commands whether increase or decrease the indent level depends on the writing direction of the document.</p>

<table>
	<thead>
		<tr>
			<th>Writing direction</th>
			<th>Shift left</th>
			<th>Shift right</th>
		</tr>
	</thead>
	
	<tbody>
		<tr>
			<th>Left to Right</th>
			<td>Decrease</td>
			<td>Increase</td>
		</tr>
		<tr>
			<th>Right to left</th>
			<td>Increase</td>
			<td>Decrease</td>
		</tr>
		<tr>
			<th>Vertical orientation</th>
			<td>Decrease</td>
			<td>Increase</td>
		</tr>
	</tbody>
</table>
</section>


<section id="cf">
<h2>See also</h2>
<ul>
	<li><a href="settings_edit.html">Change Edit settings in CotEditor on Mac</a></li>
</ul>
</section>

</body>
</html>
